Optimal. Leaf size=79 \[ -\frac {x^2 \cosh \left (a+b x^2\right )}{3 b}+\frac {\sinh \left (a+b x^2\right )}{3 b^2}+\frac {x^2 \cosh \left (a+b x^2\right ) \sinh ^2\left (a+b x^2\right )}{6 b}-\frac {\sinh ^3\left (a+b x^2\right )}{18 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {5428, 3391,
3377, 2717} \begin {gather*} -\frac {\sinh ^3\left (a+b x^2\right )}{18 b^2}+\frac {\sinh \left (a+b x^2\right )}{3 b^2}-\frac {x^2 \cosh \left (a+b x^2\right )}{3 b}+\frac {x^2 \sinh ^2\left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{6 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2717
Rule 3377
Rule 3391
Rule 5428
Rubi steps
\begin {align*} \int x^3 \sinh ^3\left (a+b x^2\right ) \, dx &=\frac {1}{2} \text {Subst}\left (\int x \sinh ^3(a+b x) \, dx,x,x^2\right )\\ &=\frac {x^2 \cosh \left (a+b x^2\right ) \sinh ^2\left (a+b x^2\right )}{6 b}-\frac {\sinh ^3\left (a+b x^2\right )}{18 b^2}-\frac {1}{3} \text {Subst}\left (\int x \sinh (a+b x) \, dx,x,x^2\right )\\ &=-\frac {x^2 \cosh \left (a+b x^2\right )}{3 b}+\frac {x^2 \cosh \left (a+b x^2\right ) \sinh ^2\left (a+b x^2\right )}{6 b}-\frac {\sinh ^3\left (a+b x^2\right )}{18 b^2}+\frac {\text {Subst}\left (\int \cosh (a+b x) \, dx,x,x^2\right )}{3 b}\\ &=-\frac {x^2 \cosh \left (a+b x^2\right )}{3 b}+\frac {\sinh \left (a+b x^2\right )}{3 b^2}+\frac {x^2 \cosh \left (a+b x^2\right ) \sinh ^2\left (a+b x^2\right )}{6 b}-\frac {\sinh ^3\left (a+b x^2\right )}{18 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 58, normalized size = 0.73 \begin {gather*} -\frac {27 b x^2 \cosh \left (a+b x^2\right )-3 b x^2 \cosh \left (3 \left (a+b x^2\right )\right )-27 \sinh \left (a+b x^2\right )+\sinh \left (3 \left (a+b x^2\right )\right )}{72 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.95, size = 93, normalized size = 1.18
method | result | size |
risch | \(\frac {\left (3 x^{2} b -1\right ) {\mathrm e}^{3 x^{2} b +3 a}}{144 b^{2}}-\frac {3 \left (x^{2} b -1\right ) {\mathrm e}^{x^{2} b +a}}{16 b^{2}}-\frac {3 \left (x^{2} b +1\right ) {\mathrm e}^{-x^{2} b -a}}{16 b^{2}}+\frac {\left (3 x^{2} b +1\right ) {\mathrm e}^{-3 x^{2} b -3 a}}{144 b^{2}}\) | \(93\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 100, normalized size = 1.27 \begin {gather*} \frac {{\left (3 \, b x^{2} e^{\left (3 \, a\right )} - e^{\left (3 \, a\right )}\right )} e^{\left (3 \, b x^{2}\right )}}{144 \, b^{2}} - \frac {3 \, {\left (b x^{2} e^{a} - e^{a}\right )} e^{\left (b x^{2}\right )}}{16 \, b^{2}} - \frac {3 \, {\left (b x^{2} + 1\right )} e^{\left (-b x^{2} - a\right )}}{16 \, b^{2}} + \frac {{\left (3 \, b x^{2} + 1\right )} e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{144 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 94, normalized size = 1.19 \begin {gather*} \frac {3 \, b x^{2} \cosh \left (b x^{2} + a\right )^{3} + 9 \, b x^{2} \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right )^{2} - 27 \, b x^{2} \cosh \left (b x^{2} + a\right ) - \sinh \left (b x^{2} + a\right )^{3} - 3 \, {\left (\cosh \left (b x^{2} + a\right )^{2} - 9\right )} \sinh \left (b x^{2} + a\right )}{72 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.40, size = 92, normalized size = 1.16 \begin {gather*} \begin {cases} \frac {x^{2} \sinh ^{2}{\left (a + b x^{2} \right )} \cosh {\left (a + b x^{2} \right )}}{2 b} - \frac {x^{2} \cosh ^{3}{\left (a + b x^{2} \right )}}{3 b} - \frac {7 \sinh ^{3}{\left (a + b x^{2} \right )}}{18 b^{2}} + \frac {\sinh {\left (a + b x^{2} \right )} \cosh ^{2}{\left (a + b x^{2} \right )}}{3 b^{2}} & \text {for}\: b \neq 0 \\\frac {x^{4} \sinh ^{3}{\left (a \right )}}{4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 192 vs.
\(2 (71) = 142\).
time = 0.45, size = 192, normalized size = 2.43 \begin {gather*} \frac {3 \, {\left (b x^{2} + a\right )} e^{\left (3 \, b x^{2} + 3 \, a\right )} - 27 \, {\left (b x^{2} + a\right )} e^{\left (b x^{2} + a\right )} - 27 \, {\left (b x^{2} + a\right )} e^{\left (-b x^{2} - a\right )} + 3 \, {\left (b x^{2} + a\right )} e^{\left (-3 \, b x^{2} - 3 \, a\right )} - e^{\left (3 \, b x^{2} + 3 \, a\right )} + 27 \, e^{\left (b x^{2} + a\right )} - 27 \, e^{\left (-b x^{2} - a\right )} + e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{144 \, b^{2}} - \frac {a e^{\left (3 \, b x^{2} + 3 \, a\right )} - 9 \, a e^{\left (b x^{2} + a\right )} - {\left (9 \, a e^{\left (2 \, b x^{2} + 2 \, a\right )} - a\right )} e^{\left (-3 \, b x^{2} - 3 \, a\right )}}{48 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.13, size = 70, normalized size = 0.89 \begin {gather*} \frac {\frac {x^2\,{\mathrm {cosh}\left (b\,x^2+a\right )}^3}{6}-\frac {x^2\,\mathrm {cosh}\left (b\,x^2+a\right )}{2}}{b}+\frac {7\,\mathrm {sinh}\left (b\,x^2+a\right )}{18\,b^2}-\frac {{\mathrm {cosh}\left (b\,x^2+a\right )}^2\,\mathrm {sinh}\left (b\,x^2+a\right )}{18\,b^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________